<%-- 
    Document   : login
    Created on : 5-dic-2011, 8.55.30
    Author     : simone
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>


<f:subview id="login_form">
    <h:form>
        <table>
            <tr>
                <td>
                    <h:outputText value="Username:"/>
                </td>
                <td>
                    <h:inputText id="username" value="#{loginBean.username}"/>
                </td>
                <td>
                    <h:outputText value="Password:"/>
                </td>
                <td>
                    <h:inputSecret id="password" value="#{loginBean.password}"/>
                </td>
                <td>
                    <h:commandButton  action="#{loginBean.verify()}" value="GO" type="submit"/>
                </td>
            </tr>
        </table>
    </h:form>
</f:subview>